﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VietPublisher.BSL.BK;

namespace VietPublisher.Repositories.Interface
{
    public interface IAuthorRepository
    {
       
        T_BK_AuthorGroup GetAuthorGrpByBookID(int bookID);
        List<T_BK_Author> GetAuthorList(int authorGroupID);
        /// <summary>
        /// view list author by author name
        /// </summary>
        /// <param name="AuthorName"></param>
        /// <returns></returns>
        List<T_BK_Author> GetAuthorList(string AuthorName);
        int UpdateAuthor(T_BK_Author author);
        int AddAuthor(T_BK_Author author);
        int AddAuthorGrp(T_BK_AuthorGroup authorGroup);
        int AddAuthorGrp(string authorIds);
        List<T_BK_Author> GetAuthorList();
        //int GetAuthorGrp(String authorName);
        Boolean HasAuthorGrp(List<String> authorName);




    }
}
